CREATE TABLE [dbo].[DnnProduct_ContentItems]
(
[ContentItemID] [int] NOT NULL IDENTITY(1, 1),
[Content] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ContentTypeID] [int] NOT NULL,
[TabID] [int] NOT NULL,
[ModuleID] [int] NOT NULL,
[ContentKey] [nvarchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Indexed] [bit] NOT NULL CONSTRAINT [DF_DnnProduct_ContentItems_Indexed] DEFAULT ((0)),
[CreatedByUserID] [int] NULL,
[CreatedOnDate] [datetime] NULL,
[LastModifiedByUserID] [int] NULL,
[LastModifiedOnDate] [datetime] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[DnnProduct_ContentItems] ADD CONSTRAINT [PK_DnnProduct_ContentItems] PRIMARY KEY CLUSTERED  ([ContentItemID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DnnProduct_ContentItems] ADD CONSTRAINT [FK_DnnProduct_ContentItems_DnnProduct_ContentTypes] FOREIGN KEY ([ContentTypeID]) REFERENCES [dbo].[DnnProduct_ContentTypes] ([ContentTypeID])
GO
